package com.scau.beyondboy.criminalintent;
import java.util.Date;
import java.util.UUID;
/**
 * Author:beyondboy
 * Gmail:xuguoli.scau@gmail.com
 * Date: 2015-04-19
 * Time: 00:49
 */
public class Crime
{
    private UUID mId;
    private String mTitle;
    private Date mDate;
    private boolean mSolved;
    public boolean isSolved()
    {
        return mSolved;
    }
    public void setSolved(boolean solved)
    {
        mSolved = solved;
    }
    public Date getDate()
    {
        return mDate;
    }
    public void setDate(Date date)
    {
        mDate = date;
    }
    public Crime()
    {
        mId=UUID.randomUUID();
        mDate=new Date();
    }
    public UUID getId()
    {
        return mId;
    }
    public String getTitle()
    {
        return mTitle;
    }
    public void setTitle(String title)
    {
        mTitle = title;
    }
    @Override
    public String toString()
    {
        return mTitle;
    }
}
